package com.jrapider.om;

/**
 * Created by Administrator on 2018/11/24.
 */
public class PageInfo {
    private Integer page = 1;
    private Integer limit = 10;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public <T> com.baomidou.mybatisplus.extension.plugins.pagination.Page conventToMybatisPage(T entityClazz) {
        return new com.baomidou.mybatisplus.extension.plugins.pagination.Page<T>(page, limit);
    }
}
